home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 September / CHIP Eylül 1996.iso / utils / povray / povsrc.lzh / machine / ibmpc / symatec / makesymc < prev    next >
Text File  |  1994-02-06  |  4KB  |  125 lines

  1. # IBM Makefile for the Persistence of Vision Raytracer 2.x.
  2. # This file is released to the public domain.
  3. # For use with the Symantec C/C++ 6.x DOSX protected mode compiler.
  4. # Notes:
  5. # Uses system environment variable LIB for the linker's .LIB file path.
  6. # (Example:  Set LIB=C:\LIB)  if you change this the two .LNK files will also
  7. # need to be changed as well.  The system environment variable CMODEL also
  8. # may be defined for the memory model of the compiler.  
  9. #
  10. # This makefile produces an Extended DOS 32bit compile.
  11. # This makefile is based on the original Zortech makefile for POV-Ray.
  12. # The ASM file remains seperate rather than inlining for Symantec C.
  13. # The macros & compiler type are still defined as "ZTC" in the source code.
  14. # MAKE Macros and Such...
  15. #
  16.  
  17. CMODEL  =x
  18. LIB     =f:\sc\lib
  19. CC      =sc -c
  20. OBJ     =obj
  21. MACHINE_OBJ = ibm.$(OBJ)  symc386.$(OBJ)
  22.  
  23. LINKER  =link386 /mo/ch
  24.  
  25. CFLAGS  =-m$(CMODEL) -4 -o+all -p -o+loop -bx -ff -a2
  26. # Use "-f" in place of "-ff" to create a compile that does not -require- a 
  27. # math CoProcessor.
  28.  
  29.  
  30. .c.obj :
  31.     $(CC) $(CFLAGS) $*.c
  32.  
  33.  
  34. F1 = povray.$(OBJ) bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ) 
  35. F2 = camera.$(OBJ) colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ) 
  36. F3 = dump.$(OBJ) express.$(OBJ) gifdecod.$(OBJ) gif.$(OBJ) hfield.$(OBJ) 
  37. F4 = iff.$(OBJ) image.$(OBJ) lighting.$(OBJ) matrices.$(OBJ) normal.$(OBJ) 
  38. F5 = objects.$(OBJ) parse.$(OBJ) pigment.$(OBJ) planes.$(OBJ) point.$(OBJ)
  39. F6 = poly.$(OBJ) quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) render.$(OBJ) 
  40. F7 = spheres.$(OBJ) targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ) 
  41. F8 = triangle.$(OBJ) txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  42.  
  43. PVOBJS = $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8) 
  44.  
  45. # POV-Ray Specific Dependencies
  46. #
  47. povray.exe : $(PVOBJS)
  48.     $(LINKER) @ibmsym3.lnk
  49.  
  50. #
  51. # Specific module/header dependencies for PV-Ray:
  52. #
  53.  
  54. povray.$(OBJ) : povray.c povproto.h frame.h vector.h config.h
  55.  
  56. bezier.$(OBJ) : bezier.c povproto.h frame.h vector.h config.h
  57.  
  58. blob.$(OBJ) : blob.c povproto.h frame.h config.h
  59.  
  60. bound.$(OBJ) : bound.c povproto.h frame.h vector.h config.h
  61.  
  62. boxes.$(OBJ) : boxes.c povproto.h frame.h config.h
  63.  
  64. camera.$(OBJ) : camera.c povproto.h frame.h vector.h config.h
  65.  
  66. colour.$(OBJ) : colour.c povproto.h frame.h config.h
  67.  
  68. cones.$(OBJ) : cones.c povproto.h frame.h vector.h config.h
  69.  
  70. csg.$(OBJ) : csg.c povproto.h frame.h vector.h config.h
  71.  
  72. discs.$(OBJ) : discs.c povproto.h frame.h vector.h config.h
  73.  
  74. express.$(OBJ) : express.c povproto.h frame.h config.h parse.h
  75.  
  76. gifdecod.$(OBJ) : gifdecod.c povproto.h frame.h config.h
  77.  
  78. gif.$(OBJ) : gif.c povproto.h frame.h config.h
  79.  
  80. hfield.$(OBJ) : hfield.c povproto.h frame.h vector.h config.h
  81.  
  82. ibm.$(OBJ) :    ibm.c povproto.h frame.h config.h
  83.  
  84. iff.$(OBJ) : iff.c povproto.h frame.h config.h
  85.  
  86. image.$(OBJ) : image.c povproto.h frame.h vector.h config.h texture.h
  87.  
  88. lighting.$(OBJ) : lighting.c povproto.h frame.h vector.h config.h
  89.  
  90. matrices.$(OBJ) : matrices.c povproto.h frame.h vector.h config.h
  91.  
  92. normal.$(OBJ) : normal.c povproto.h frame.h vector.h config.h texture.h
  93.  
  94. objects.$(OBJ) : objects.c povproto.h frame.h vector.h config.h
  95.  
  96. parse.$(OBJ) : parse.c povproto.h frame.h config.h parse.h
  97.  
  98. pigment.$(OBJ) : pigment.c povproto.h frame.h vector.h config.h texture.h
  99.  
  100. planes.$(OBJ) : planes.c povproto.h frame.h vector.h config.h
  101.  
  102. poly.$(OBJ) : poly.c povproto.h frame.h vector.h config.h
  103.  
  104. quadrics.$(OBJ) : quadrics.c povproto.h frame.h vector.h config.h
  105.  
  106. raw.$(OBJ) :    raw.c povproto.h frame.h config.h
  107.  
  108. ray.$(OBJ) : ray.c povproto.h frame.h vector.h config.h
  109.  
  110. render.$(OBJ) : render.c povproto.h frame.h vector.h config.h
  111.  
  112. spheres.$(OBJ) : spheres.c povproto.h frame.h vector.h config.h
  113.  
  114. texture.$(OBJ) : texture.c povproto.h frame.h vector.h config.h texture.h
  115.  
  116. tokenize.$(OBJ) : tokenize.c povproto.h frame.h config.h
  117.  
  118. triangle.$(OBJ) : triangle.c povproto.h frame.h vector.h config.h
  119.  
  120. txttest.$(OBJ) : txttest.c povproto.h frame.h vector.h config.h texture.h
  121.  
  122. vect.$(OBJ) : vect.c povproto.h frame.h config.h
  123.  
  124.  
  125.